home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / share / m17n / TIBT-MTIB.flt < prev    next >
Text File  |  2009-04-29  |  7KB  |  267 lines

  1. ;; TIBT-MTIB.flt -- Font Layout Table for Tibetan (Tomabechi font)
  2. ;; Copyright (C) 2003, 2004, 2007  AIST (H15PRO112)
  3. ;; See the end for copying conditions.
  4.  
  5. (font layouter tibt-mtib nil
  6.       (font (nil mtib unicode-bmp)))
  7.  
  8. ;;; <li> TIBT-MTIB.flt
  9. ;;;
  10. ;;; For the Tibetan TrueType font developped by Dr. Tomabechi to draw
  11. ;;; Tibetan script.  The font is available at:
  12. ;;; <ul>
  13. ;;; <li> infopage: http://www.m17n.org/emacs-ttf/
  14. ;;; <li> download: http://www.m17n.org/emacs-ttf/fonts/tibetan/mtib.ttf
  15. ;;; </ul>
  16.  
  17. (category
  18.  ;; Tibetan character category for rendering
  19.  ;;   C: CONSONANTS (except R)
  20.  ;;   R: LETTER RA (RA-MGO)
  21.  ;;   S: SUBJOINED CONSONANTS (except s)
  22.  ;;   s: SUBJOINED CONSONANTS (don't modify RA-MGO)
  23.  ;;   V: VOWEL (except a and A)
  24.  ;;   a: VOWEL SIGN A (invisible when composed)
  25.  ;;   A: VOWEL SIGN AA (don't make preceding C shorter)
  26.  ;;   M: MODIFIER
  27.  ;;   E: ELSE
  28.  ;;
  29.  (0x0F00 0x0FCF        ?E)        ; ELSE
  30.  (0x0F19        ?M)        ; ASTROLOGICAL SIGN SDONG TSHUGS
  31.  (0x0F35        ?M)        ; MARK NGAS BZUNG NYI ZLA
  32.  (0x0F37        ?M)        ; MARK NGAS BZUNG SGOR RTAGS
  33.  (0x0F39        ?M)        ; MARK TSA -PHRU
  34.  (0x0F40 0x0F6A        ?C)        ; LETTER KA .. LETTER FIXED-FORM RA
  35.  (0x0F62        ?R)        ; LETTER RA
  36.  (0x0F70        ?a)        ; VOWEL SIGN A
  37.  (0x0F71        ?A)        ; VOWEL SIGN AA
  38.  (0x0F72 0x0F7D        ?V)        ; VOWEL SIGN I .. VOWEL SIGN OO
  39.  (0x0F7E        ?M)        ; SIGN RJES SU NGA RO
  40.  (0x0F80        ?V)        ; VOWEL SIGN REVERSED I
  41.  (0x0F81        ?V)        ; VOWEL SIGN REVERSED II
  42.  (0x0F82        ?M)        ; SIGN NYI ZLA NAA DA
  43.  (0x0F83        ?M)        ; SIGN SNA LDAN
  44.  (0x0F84        ?V)        ; MARK HALANTA
  45.  ;; SIGN LCI RTAGS .. SIGN GRU MED RGYINGS
  46.  (0x0F86 0x0F8B        ?M)
  47.  ;; SUBJOINED LETTER KA .. SUBJOINED LETTER FIXED-FORM RA
  48.  (0x0F90 0x0FBC        ?s)
  49.  (0x0FAD         ?S)
  50.  (0x0FB1 0x0FB2        ?S)
  51.  (0x0FC6        ?M))
  52.  
  53. (generator
  54.  (0
  55.   (cond
  56.    ("[CR][Ss]*[VaA]*M*"
  57.     <
  58.     (cond
  59.      ("R[^SA].*"            ; α╜ó[^α╛¡α╛▒α╛▓α╜▒]
  60.       ((0x0F62) 0xE083)            ; convert α╜ó to upper form
  61.       subjoined *
  62.       dependent-vowel-modifier *)
  63.      (".A.*"                ; Cα╜▒ (don't make C shorter)
  64.       =
  65.       dependent-vowel-modifier *)
  66.      (".[Ss].*"
  67.       |
  68.       short-consonant
  69.       subjoined *
  70.       dependent-vowel-modifier *
  71.       |)
  72.      (".*"
  73.       =
  74.       dependent-vowel-modifier * )
  75.      )
  76.     >)
  77.    ("[VaAM]"
  78.     < 0xE07A dependent-vowel-modifier >)
  79.    ("[Ss]"
  80.     < 0xE07A subjoined >)
  81.    ("."
  82.     =))
  83.   *)
  84.  
  85.  (short-consonant
  86.   (cond
  87.    ((0x0F5D)            0x0FBA)
  88.    ((0x0F61)            0x0FBB)
  89.    ((0x0F62)            0x0FBC)
  90.    ((0x0F6A)            0x0FBC)
  91.    ((range 0x0F40 0x0F69)    0x0F90)))
  92.  
  93.  (subjoined
  94.   ((range 0x0F90 0x0FB9) bc.tc =))
  95.  
  96.  (dependent-vowel-modifier
  97.   (cond
  98.    ((0x0F18)    bl.tc =)
  99.    ((0x0F19)    bc.tc =)
  100.    ((0x0F35)    bc.tc =)
  101.    ((0x0F37)    bc.tc =)
  102.    ((0x0F39)    tc.bc =)
  103.    ((0x0F70)    )            ; invisible
  104.    ((0x0F71)    bc.tc =)
  105.    ((0x0F72)    tc.bc =)
  106.    ((0x0F73)    bc.tc 0x0F71 tc.bc 0x0F72)
  107.    ((0x0F74)    bc.tc =)
  108.    ((0x0F75)    bc.tc =)
  109.    ((0x0F76)    bc.tc 0x0FB2 tc.bc 0x0F72)
  110.    ((0x0F77)    bc.tc 0x0FB2 bc.tc 0x0F71 tc.bc 0x0F80)
  111.    ((0x0F78)    bc.tc 0x0FB3 tc.bc 0x0F80)
  112.    ((0x0F79)    bc.tc 0x0FB3 bc.tc 0x0F71 tc.bc 0x0F80)
  113.    ((0x0F7A)    tc.bc =)
  114.    ((0x0F7B)    tc.bc =)
  115.    ((0x0F7C)    tc.bc =)
  116.    ((0x0F7D)    tc.bc =)
  117.    ((0x0F7E)    tc.bc =)
  118.    ((0x0F80)    tc.bc =)
  119.    ((0x0F81)    bc.tc 0x0F71 tc.bc =)
  120.    ((0x0F82)    tc.bc =)
  121.    ((0x0F83)    tc.bc =)
  122.    ((0x0F84)    bc.tc =)
  123.    ((0x0F86)    tc.bc =)
  124.    ((0x0F87)    tc.bc =)
  125.    ((0x0F88)    tc.bc =)
  126.    ((0x0F89)    tc.bc =)
  127.    ((0x0F8A)    tc.bc =)
  128.    ((0x0F8B)    tc.bc =)
  129.    ((0x0FC6)    bc.tc =))))
  130.  
  131. (category
  132.  (0x000 0xFFFF ?G))
  133.  
  134. (generator
  135.  (0
  136.   (cond
  137.    (" (G*) "
  138.     (1 precomposed = *))
  139.    ("[^ ]*"
  140.     = *))
  141.   *)
  142.  
  143.  (precomposed
  144.   (cond
  145.    ((0x0F90 0x0FAD)        0xE000)
  146.    ((0x0F90 0x0FB1)        0xE010)
  147.    ((0x0F90 0x0FB2)        0xE018)
  148.    ((0x0F90 0x0FB3)        0xE026)
  149.    ((0x0F91 0x0FAD)        0xE001)
  150.    ((0x0F91 0x0FB1)        0xE011)
  151.    ((0x0F91 0x0FB2)        0xE019)
  152.    ((0x0F92 0x0FAD)        0xE002)
  153.    ((0x0F92 0x0FB1)        0xE012)
  154.    ((0x0F92 0x0FB2 0x0FAD)    0xE025)
  155.    ((0x0F92 0x0FB2)        0xE01A)
  156.    ((0x0F92 0x0FB3)        0xE027)
  157.    ((0x0F95 0x0FAD)        0xE003)
  158.    ((0x0F97 0x0FB2)        0xE060)
  159.    ((0x0F99 0x0FAD)        0xE004)
  160.    ((0x0F9F 0x0FAD)        0xE005)
  161.    ((0x0F9F 0x0FB2)        0xE01B)
  162.    ((0x0FA0 0x0FB2)        0xE01C)
  163.    ((0x0FA1 0x0FAD)        0xE006)
  164.    ((0x0FA1 0x0FB2)        0xE01D)
  165.    ((0x0FA4 0x0FB1)        0xE013)
  166.    ((0x0FA4 0x0FB2)        0xE01E)
  167.    ((0x0FA5 0x0FB1 0x0FAD)    0xE017)
  168.    ((0x0FA5 0x0FB1)        0xE014)
  169.    ((0x0FA5 0x0FB2)        0xE01F)
  170.    ((0x0FA6 0x0FB1)        0xE015)
  171.    ((0x0FA6 0x0FB2)        0xE020)
  172.    ((0x0FA6 0x0FB3)        0xE028)
  173.    ((0x0FA8 0x0FB1)        0xE016)
  174.    ((0x0FA8 0x0FB2)        0xE021)
  175.    ((0x0FA9 0x0FAD)        0xE007)
  176.    ((0x0FAA 0x0FAD)        0xE008)
  177.    ((0x0FAB 0x0FB2)        0xE061)
  178.    ((0x0FAE 0x0FAD)        0xE009)
  179.    ((0x0FAF 0x0FAD)        0xE00A)
  180.    ((0x0FAF 0x0FB3)        0xE029)
  181.    ((0x0FB2 0x0F90 0x0FB1)    0xE03A)
  182.    ((0x0FB2 0x0F90)        0xE02C)
  183.    ((0x0FB2 0x0F92 0x0FAD)    0xE038)
  184.    ((0x0FB2 0x0F92 0x0FB1)    0xE03B)
  185.    ((0x0FB2 0x0F92)        0xE02D)
  186.    ((0x0FB2 0x0F94)        0xE02E)
  187.    ((0x0FB2 0x0F97)        0xE02F)
  188.    ((0x0FB2 0x0F99)        0xE030)
  189.    ((0x0FB2 0x0F9F)        0xE031)
  190.    ((0x0FB2 0x0FA1)        0xE032)
  191.    ((0x0FB2 0x0FA3)        0xE033)
  192.    ((0x0FB2 0x0FA6)        0xE034)
  193.    ((0x0FB2 0x0FA8 0x0FB1)    0xE03C)
  194.    ((0x0FB2 0x0FA8)        0xE035)
  195.    ((0x0FB2 0x0FA9 0x0FAD)    0xE039)
  196.    ((0x0FB2 0x0FA9)        0xE036)
  197.    ((0x0FB2 0x0FAB)        0xE037)
  198.    ((0x0FB2 0x0FAD)        0xE00B)
  199.    ((0x0FB2 0x0FB3)        0xE02A)
  200.    ((0x0FB3 0x0F90)        0xE03D)
  201.    ((0x0FB3 0x0F92)        0xE03E)
  202.    ((0x0FB3 0x0F94)        0xE03F)
  203.    ((0x0FB3 0x0F95)        0xE040)
  204.    ((0x0FB3 0x0F97)        0xE041)
  205.    ((0x0FB3 0x0F9F)        0xE042)
  206.    ((0x0FB3 0x0FA1)        0xE043)
  207.    ((0x0FB3 0x0FA4)        0xE044)
  208.    ((0x0FB3 0x0FA6)        0xE045)
  209.    ((0x0FB3 0x0FAD)        0xE00C)
  210.    ((0x0FB3 0x0FB7)        0xE046)
  211.    ((0x0FB4 0x0FAD)        0xE00D)
  212.    ((0x0FB4 0x0FB2)        0xE022)
  213.    ((0x0FB6 0x0F90 0x0FB1)    0xE052)
  214.    ((0x0FB6 0x0F90 0x0FB2)    0xE057)
  215.    ((0x0FB6 0x0F90)        0xE047)
  216.    ((0x0FB6 0x0F92 0x0FB1)    0xE053)
  217.    ((0x0FB6 0x0F92 0x0FB2)    0xE058)
  218.    ((0x0FB6 0x0F92)        0xE048)
  219.    ((0x0FB6 0x0F94)        0xE049)
  220.    ((0x0FB6 0x0F99)        0xE04A)
  221.    ((0x0FB6 0x0F9F)        0xE04B)
  222.    ((0x0FB6 0x0FA1)        0xE04C)
  223.    ((0x0FB6 0x0FA3 0x0FB2)    0xE059)
  224.    ((0x0FB6 0x0FA3)        0xE04D)
  225.    ((0x0FB6 0x0FA4 0x0FB1)    0xE054)
  226.    ((0x0FB6 0x0FA4 0x0FB2)    0xE05A)
  227.    ((0x0FB6 0x0FA4)        0xE04E)
  228.    ((0x0FB6 0x0FA6 0x0FB1)    0xE055)
  229.    ((0x0FB6 0x0FA6 0x0FB2)    0xE05B)
  230.    ((0x0FB6 0x0FA6)        0xE04F)
  231.    ((0x0FB6 0x0FA8 0x0FB1)    0xE055)
  232.    ((0x0FB6 0x0FA8 0x0FB2)    0xE05C)
  233.    ((0x0FB6 0x0FA8)        0xE050)
  234.    ((0x0FB6 0x0FA9)        0xE051)
  235.    ((0x0FB6 0x0FAD)        0xE00E)
  236.    ((0x0FB6 0x0FB2)        0xE023)
  237.    ((0x0FB6 0x0FB3)        0xE02B)
  238.    ((0x0FB7 0x0FAD)        0xE00F)
  239.    ((0x0FB7 0x0FB2)        0xE024))))
  240.  
  241. ;; Copyright (C) 2003, 2004, 2007
  242. ;;   National Institute of Advanced Industrial Science and Technology (AIST)
  243. ;;   Registration Number H15PRO112
  244.  
  245. ;; This file is part of the m17n database; a sub-part of the m17n
  246. ;; library.
  247.  
  248. ;; The m17n library is free software; you can redistribute it and/or
  249. ;; modify it under the terms of the GNU Lesser General Public License
  250. ;; as published by the Free Software Foundation; either version 2.1 of
  251. ;; the License, or (at your option) any later version.
  252.  
  253. ;; The m17n library is distributed in the hope that it will be useful,
  254. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  255. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  256. ;; Lesser General Public License for more details.
  257.  
  258. ;; You should have received a copy of the GNU Lesser General Public
  259. ;; License along with the m17n library; if not, write to the Free
  260. ;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  261. ;; Boston, MA 02110-1301, USA.
  262.  
  263. ;; Local Variables:
  264. ;; mode: lisp
  265. ;; coding: utf-8
  266. ;; End:
  267.